lcPaint_PtbufAddEllipse2 Home

Adds a set of points into a points buffer. The points represent an ellipse shape, inscribed into specified rectangle.

 BOOL lcPaint_PtbufAddEllipse2 (
   HANDLE hPtbuf,
   double X1,
   double Y1,
   double X2,
   double Y2,
   int Resol
 );

Parameters
hPtbuf
  Handle to points buffer.
X1 Y1
  First corner of a rectangle.
X2 Y2
  Opposite corner of a rectangle.
Resol
  Ellipse resolution. The value means a number of points per 360 degrees.
Can be only the following vales: 16, 32, 64, 128, 256, 512.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

Remarks

  To know the number of points was added by this function, read the global property LC_PROP_G_PTBUFNEWPTS just after the function execution.

See Also

  lcPaint_PtbufAddEllipse